from django.db import models

# Create your mos here.
class Article(models.Model):
   # id=models.AutoField(default=1)
    title=models.CharField(max_length=30)
    content=models.TextField()
    create_time=models.DateField(auto_now_add=True,null=True)
    aclass=models.IntegerField(null=True)
    user_id=models.IntegerField(null=True)
class Person(models.Model):
    name = models.CharField(max_length=30)
    age = models.IntegerField()
class Article_class(models.Model):
   # id=models.AutoField(default=1)
    name=models.CharField(max_length=50)
class user(models.Model):
    username=models.CharField(max_length=20)
    password=models.CharField(max_length=100)
    create_time=models.DateField()